package com.ruihu.admin.module.business.task.domain.dto;

import lombok.Data;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * 新建 [ 任务子表 ]
 *
 * @author Tony
 * @version 1.0
 * @company 瑞虎（南京）信息技术有限公司
 * @copyright (c) 2018 瑞虎（南京）信息技术有限公司Inc. All rights reserved.
 * @date  2022-08-29 17:13:25
 * @since JDK1.8
 */
@Data
public class SubTaskAddDTO {
    @ApiModelProperty("子任务编号")
    private String taskCode;

    @ApiModelProperty("电芯编码")
    private String electricCoreCode;

    @ApiModelProperty("电芯型号")
    private String electricCoreType;

    @ApiModelProperty("主任务ID")
    private Long mainTaskId;

    @ApiModelProperty("任务状态")
    private String status;

    @ApiModelProperty("任务完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date completionTime;

    @ApiModelProperty("任务执行人ID")
    private Long assigneeId;

    @ApiModelProperty("任务执行人名称")
    private String assigneeName;

    @ApiModelProperty("乐观锁")
    private Integer revision;

    @ApiModelProperty("创建人")
    private Integer createBy;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新人")
    private Integer updateBy;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}
